set more off

set mem 1000m
set maxvar 5000  
set matsize 5000

use "~/Dropbox/hookworm/replication/fstat/campaignBEFORE_6to13.dta", clear    

ivreg210 y_dd tr_dd year vote1908 dem1908 school1900 litw1900 litb1900 pop1900 urban1900 black1900 crop1900 nofarms1900 farmval1900 acre1900 bigfarm1900 tenant1900 mwages1900 mfactors1900 moutput1900 manworks1900 childlabor1900 (d_dd = tr_dd_year)
    

use "~/Dropbox/hookworm/replication/fstat/campaignAFTER_6to13.dta", clear    

ivreg210 y_dd tr_dd year vote1908 dem1908 school1900 litw1900 litb1900 pop1900 urban1900 black1900 crop1900 nofarms1900 farmval1900 acre1900 bigfarm1900 tenant1900 mwages1900 mfactors1900 moutput1900 manworks1900 childlabor1900 (d_dd = tr_dd_year) [w=wmat]
